package com.moyun.search.bo;

import lombok.Data;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * 查询请求
 * @author: zealon
 * @since: 2021/12/24
 */
@Data
public class SearchBO {

    @NotNull
    private String keywords;

    private Integer projectId;

    private String[] fileType;

    @NotNull
    @Min(1)
    private Integer size;

    @NotNull
    @Min(1)
    private Integer page;
}
